﻿#ifndef HWBASEDIALOG_H
#define HWBASEDIALOG_H

#include "components/FWidgets/Base/FDialog.h"

class ICom;

class HWBaseDialog : public FDialog
{
    Q_OBJECT
public:
    explicit HWBaseDialog(QWidget *parent = nullptr);

protected:
    bool changeWorker(ICom* com);

private slots:
    virtual void setUIEnabled(bool en) = 0;  // 设置UI是否可操作
};

#endif // HWBASEDIALOG_H
